package com.wenhui.schoolyardinfo.firstpage.bean;

import java.util.List;

/**
 * author    : Urasaki
 * e-mail    : 1164688204@qq.com
 * date      : 2019/6/14 14:28
 * introduce : 评论实体类
 */

public class CommentBean {

    private String name;
    private String comment;
    private List<SubcommentsBean> subcommentsBeanList;

    public CommentBean() {
    }

    public CommentBean(String name, String comment, List<SubcommentsBean> subcommentsBeanList) {
        this.name = name;
        this.comment = comment;
        this.subcommentsBeanList = subcommentsBeanList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<SubcommentsBean> getSubcommentsBeanList() {
        return subcommentsBeanList;
    }

    public void setSubcommentsBeanList(List<SubcommentsBean> subcommentsBeanList) {
        this.subcommentsBeanList = subcommentsBeanList;
    }

    @Override
    public String toString() {
        return "CommentBean{" +
                "name='" + name + '\'' +
                ", comment='" + comment + '\'' +
                ", subcommentsBeanList=" + subcommentsBeanList +
                '}';
    }
}
